package cn.com.bluemoon.daps.standard.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.com.bluemoon.daps.common.domain.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 稽核表中字段标准符合结果表(详情)
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors
@ApiModel(value = "DapAuditFieldStandardResult", description = "稽核表中字段标准符合结果表(详情)")
public class DapAuditFieldStandardResult extends BaseModel<DapAuditFieldStandardResult> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "字段中文名")
    @Excel(name = "字段中文名", orderNum = "5")
    private String fieldChinName;

    @ApiModelProperty(value = "字段长度")
    @Excel(name = "字段长度", orderNum = "7")
    private String fieldLong;

    @ApiModelProperty(value = "字段名称")
    @Excel(name = "采纳的标准", orderNum = "4")
    private String fieldName;

    @ApiModelProperty(value = "字段类型")
    @Excel(name = "字段类型", orderNum = "6")
    private String fieldType;

    @ApiModelProperty(value = "是否存在映射, 0:不存在 1:存在")
    private Integer isMapping;

    @ApiModelProperty(value = "是否通过，0:表示不通过，1:表示通过")
    @Excel(name = "是否通过", replace = {"是_1", "否_0"}, orderNum = "12")
    private Integer isPassed;

    @ApiModelProperty(value = "原因")
    @Excel(name = "原因", orderNum = "13")
    private String reason;

    @ApiModelProperty(value = "稽核表标准符合结果表id")
    private String standardResultId;

    @ApiModelProperty(value = "采纳的标准")
    @Excel(name = "采纳的标准", orderNum = "9")
    private String standardsAdopted;

    @ApiModelProperty(value = "标准长度")
    @Excel(name = "标准长度", orderNum = "11")
    private String standardsLong;

    @ApiModelProperty(value = "标准类型")
    @Excel(name = "标准类型", orderNum = "10")
    private String standardsType;

    @ApiModelProperty(value = "标准唯一id")
    private String standardUniqueId;

    @ApiModelProperty(value = "对应模型表的字段id")
    private String fieldId;

    @ApiModelProperty(value = "对应模型表字段id（当前模型最新字段id）")
    private String fieldNewestId;

    @ApiModelProperty(value = "增加关联标准方式")
    @Excel(name = "关联标准方式", orderNum = "8")
    private String relStandardMethod;

    @ApiModelProperty(value = "模型名称")
    @TableField(exist = false)
    @Excel(name = "模型名称", orderNum = "1")
    private String modelName;

    @ApiModelProperty(value = "库表名称")
    @TableField(exist = false)
    @Excel(name = "库表名称", orderNum = "2")
    private String tableName;

    @ApiModelProperty(value = "库表中文名")
    @TableField(exist = false)
    @Excel(name = "库表中文名", orderNum = "3")
    private String tableChinName;

    @ApiModelProperty(value = "模型名称")
    @TableField(exist = false)
    private String modelName2;

    @ApiModelProperty(value = "库表名称")
    @TableField(exist = false)
    private String tableName2;

    @ApiModelProperty(value = "库表中文名")
    @TableField(exist = false)
    private String tableChinName2;


}
